﻿
@{
    ViewData["Title"] = "GoodLable";
    Layout = "~/Views/Shared/_Layout.cshtml";
}

<h1>商品标签</h1>

@* 标签查询 *@
<div class="layui-form-item">
    <label class="layui-form-label">标签名称</label>
    <div class="layui-input-inline">
        <input type="text" id="goodLableName" placeholder="请输入商品标签名称" autocomplete="off" class="layui-input">

    </div>
    <button class="layui-btn" lay-submit lay-filter="demoTable" lay-event="myBtn">查询</button>
    <button class="layui-btn" id="add">添加</button>
    <div>
    </div>

</div>
@* 显示商品标签 *@
<table class="layui-table" id="demoTable" lay-filter="demoTable">
    <tbody>
        <!-- 这里是动态生成的数据 -->
    </tbody>
</table>
<div id="demo-laypage-all"></div>
@* 商户标签操作列 *@
<script type="text/html" id="bardemo">
        <a class="layui-btn layui-btn-xs layui-btn-action"   lay-event="yourFunction">编辑</a>
        <a class="layui-btn layui-btn-xs layui-btn-danger layui-btn-action" lay-event="deleteNumber">删除</a>
</script>
<div id="demo-laypage-layout-1"></div>


@* 标签弹出层 *@
<div id="roomTypeAdd" style="display:none">
    <form class="layui-form">
        <div class="layui-form-item" style="display:none">

            <label class="layui-form-label"><span style="color:red">*</span>商品标签id</label>
            <div class="layui-input-block">
                <input type="text" name="goodLableId" id="goodLableId" placeholder="商品标签id">
            </div>
        </div>


      <div class="layui-form-item">
          <label class="layui-form-label">商户名称</label>
          <div class="layui-input-block">
             <input type="text" name="goodLableName" id="editgoodLableName"  placeholder=""  lay-reqtext="请填写商户标签名称" autocomplete="off" class="layui-input">
          </div>
      </div>
 
        <div class="layui-form-item">
            <div class="layui-input-block">
                <button type="reset" class="layui-btn layui-btn-primary">取消</button>
                <button id="adds" class="layui-btn" lay-submit lay-filter="submitForm">确认</button>
                <button id="edit" class="layui-btn" lay-submit lay-filter="xiuForm">修改</button>
            </div>
        </div>

    </form>
</div>

<script src="~/Goods/Shop/GoodLable.js"></script>
